<template>
  <section class="todoapp">
    <!-- 使用组件 -->
    <MyHeader></MyHeader>
    <MyMain></MyMain>
    <MyFooter></MyFooter>
  </section>
</template>

<script>
// 引入组件
import MyHeader from "./components/MyHeader.vue";
import MyMain from "./components/MyMain.vue";
import MyFooter from "./components/MyFooter.vue";
export default {
  // 注册组件
  components: {
    MyHeader,
    MyMain,
    MyFooter,
  },
};
</script>

<style></style>
